package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document("questionnaire")
public class Questionnaire implements Serializable {
    private ObjectId id;//问卷id
    private String name;//文件名字
    private String cover;//问卷封面
    private Integer level;//枚举: 初级为0,中级为1,高级为2
    private Integer star;//星别（例如：2颗星，3颗星，5颗星）
    private List<Integer> questionsId;//试题id
    private List<Integer> conclusionsId;//结论id
}
